home *** CD-ROM | disk | FTP | other *** search
/ PC Electronic Plus / PC Electronics Plus (Most Significant Bits)(1995).ISO / pcreson / outsampl.bat < prev    next >
DOS Batch File  |  1986-08-21  |  2KB  |  52 lines

  1. rem   Please place the LOGSIM disk in the default disk drive, if it is
  2. rem   not already there.   
  3. pause
  4. cls
  5. rem   This is the output sample generator for LOGSIM. To see the
  6. rem   results of the PRINT option, you must have already run your
  7. rem   DOS graphics print screen program.  This is called GRAPHICS.COM
  8. rem   under PC-DOS, and is one of the PSCxxxxx.COM programs under MS-DOS.
  9. rem   Refer to your DOS manual for more information
  10. rem
  11. rem   The file "0124" is a simulation of a 3-bit counter that counts
  12. rem   in the pattern 0 - 1 - 2 - 4 - 0 - 1 - ...  Reading nodes 13, 14,
  13. rem   and 15 (13 is most significant) in binary yields the pattern.
  14. rem
  15. pause
  16. cls
  17. rem   First, using the DISPLAY option, we will demonstrate the timing
  18. rem   diagram on the CRT:
  19. pause
  20. logsim 0124.dis
  21. rem   Now we will demonstrate the output from the file option in LOGSIM.  We
  22. rem   will output the results to the screen.  Read the values in each column
  23. rem   vertically.
  24. pause
  25. logsim 0124.fil
  26. pause
  27. cls
  28. rem   Now, a demonstration of the output resulting from the FPRINT option.
  29. rem   Make sure that your printer is set up correctly, and then hit any key.
  30. rem   If you do not wish to view the printer versions of the output,
  31. rem   hit control-break and answer "Y" to the "Terminate batch job (Y/N)?"
  32. rem   question.
  33. pause
  34. cls
  35. logsim 0124.fpr
  36. rem
  37. rem
  38. rem
  39. rem
  40. rem   Now, the results with the PRINT option.
  41. pause
  42. logsim 0124.pri
  43. rem
  44. rem
  45. rem
  46. rem   There, that's all four output modes.  You will have to determine which
  47. rem   is best suited to your needs.  DISPLAY is useful for debugging, FPRINT
  48. rem   is for harder debugging, FILE is useful to compare two (supposedly)
  49. rem   similar circuits (use the DOS utility COMP or FC), and PRINT is useful
  50. rem   for getting your finish copy of the timing diagram.
  51.  
  52.